
package org.scalabletype.data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.OneToMany;

@Entity
public class Blog implements Serializable {
	protected String id;
	protected String name;
	protected String title;
	protected String slogan;
	protected String authors;
	protected List<String> cnames;

	public Blog() {
		cnames = new ArrayList<String>();
	}

	@Id
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getSlogan() {
		return slogan;
	}

	public void setSlogan(String slogan) {
		this.slogan = slogan;
	}

	public String getAuthors() {
		return authors;
	}

	public void setAuthors(String authors) {
		this.authors = authors;
	}

/*
	public List<String> getCNames() {
		return cnames;
	}

	public void setCNames(List<String> cnames) {
		this.cnames = cnames;
	}
*/
}
